fixed homebrew installation script