Fix building with GnuTLS support on Windows