Modify vim check for non-gui.See mac in .sys.config project.