Only disable deprecation warnings on Apple for OpenSSL