Update CMakeLists.txt
Implement POSIX threads