Fix SSL libs for configure when --with-openssl=DIR is given.