Updated homebrew installation

fix #607