Fixed so that CMake build the gui properly.
Merge pull request #18 from luuse/cmake_qtfix

Fixed so that CMake build the gui properly.