Try to support both OpenSSL package and system libcrypto