update ax_pthread.m4 from autoconf-archive
Merge branch 'master' into 2.x