Sync with pthreads4w repository