Respect --with-openssl when building C++ support.