[fix] change to -pthread to compile in Linux
[fix] Remove -lpthread
Merge pull request #2 from opsmezzo/compile-linux

[fix] change to -pthread to compile in Linux