Fix build errors introduced during backporting SslContext