vtk to build with mingw and pthreads on win