Added CMake support for the GUI.
Fixed case-sensitive file names.