link libpthread
Merge branch 'master' into wide1309