fix one brew error when homebrew not installed