Use function to install brew-cask.