fix CMake error about pthread
Looking for include file pthread.h - not found
Could NOT find Threads (missing:  Threads_FOUND)