Merge pull request #212 from ysohma/fix-pthread-link

Fix build error on Android