Update Makefile

Add libpthread to depends
Merge pull request #3 from xakep666/patch-1

Update Makefile