update ax_pthread from: https://www.gnu.org/software/autoconf-archive/ax_pthread.html fixes PTHREAD_LIBS