Add threading/ to CMakeLists.txt