Add -pthread flag for GCC in CMakeLists
Attribute myself