added check for homebrew