Fixed openssl detection on windows.

Fixed OpenSSL detection for windows builds.