Clean up CMakeLists.txt and drop Qt 5