Tdfischer/misc fixes

One quick fix:

* Support the use of OPENSSL_ROOT environment variable to locate openssl stuff outside of system paths