Better check for _POSIX_PRIORITY_SCHEDULING; OSX defines it to be -1 and it should always be > 1 if present.