Using our command_exists func to check for brew

Fixes #341.