Remove pthread fatal check from CMakeLists.txt