support for openssl version 1 on windows

before, we only supported openssl version 0.98