Move brew and brew cask installation in install.sh.