Clean CMakeLists.txt: remove Qt, Qwt (unused).
Fix policy to enable earlier versions of CMake.