checks if osx rather than if brew is installed