build deps on osx with brew (if available)