Fix building with --enable-openssl after removed config.h inclusion from
public header files