Use brew_prefix function.