Gather conditional include of the pthread library in a single pthread.h file.