Add -pthread.
Merge pull request #12 from gwtnb/pthread

Add -pthread.