Windows build needs to link against pthread, not pthreadGC2.