Clean up CMakeLists.txt and drop Qt 4