Make sure cask is installed before installing any package it provides.

Closes #7