Fix build against older OpenSSL libs