Emacs: check and use cask, if installed