Added a check for homebrew