Fix openssl detect