Use improved POSIX threads check from threads.m4 This is shared between some projects (currently Apache 2.0, mhash, mcrypt)
12