Fix binary incompatibility between openssl versions