Support building with OpenSSL 1.1.0 and BoringSSL