Fix compilation with OpenSSL 1.1