fix determining whether OpenSSL is loaded/used as a dep