Updated for new syntax https://github.com/caskroom/homebrew-cask/issues/4688