check for homebrew before using it