fixed bug where VIM_APP_DIR is defined