Fix CMake linker flag -pthread for g++