Merge pull request #386 from kronosnet/ax_pthread
m4/ax_pthread.m4: update to latest upstream version (serial 31)