Remove pthread fatal check from CMakeLists.txt #891