Fix compile errors if the openssl patch is not applied.