Added a check if homebrew is installed, fixed #1050

The autojump script assumes, that if the current system is no linux system, than it has to be a system using hombrew, so it does not even check, if "brew" is installed, this causing the error mentioned in #1050