Trying to define _POSIX_THREADS by including appropriate header if not win32 | win64.