NO_THREAD message fixed in CMakeLists.txt