CMakeLists: refactor SOURCES variable to allow later adding uqmid