Fix leiningen problem of loading dock/menu/window on OSX