Added preinstall check for brew under mac os x
Merge pull request #39 from a0n/master

Added preinstall check for brew under mac os x