REFACTOR: search for openssl first