Updated homebrew installation

fix #607
Merge pull request #644 from fran6co/patch-6

Updated homebrew installation