OpenSSL: fix build for pre-1.1.0