Ensure _POSIX_PTHREAD_SEMANTICS is defined, for some reason the global defines aren't being applied correctly to this file.