Detects for POSIX support using _POSIX_THREADS variable.