Fix build for older versions of OpenSSL