Test for brew-cask before running it.