Check for Mac before trying to homebrew