Make cask init file platform portable.