Fix build on older OpenSSL