Adjust for pthread.h and pthreadtypes.h change.