Add support to build tor with an upstream version of OpenSSL

Add support to build tor with a version of OpenSSL more recent than the system one.