Compile fix for openssl 1.x