add -lpthread - linker errror
Revert "add -lpthread - linker errror"

This reverts commit f5a2728a41a028f5c776c6c8604b430a4356e090.
add -lpthread