Move definition of UI_FILES out of HAVE_GUI.