Mingw64 has pthread_t available, and does not need a thread ID comparison function