Fix static linking of OpenSSL on Win32