jtest: openssl build fix

Make sure jtest can link OpenSSL when it is in a non-default locatino
given by --with-openssl.