Change the use of CFLAGS WRT ACX_PTHREAD. Thread libs/cflags are