Add cask appdir support