Hello Horst,
What happens if you add -D_MSC_VER to CXXFLAGS and LDFLAGS in the Makefile? I think this should force the program to use native Windows threads instead of Posix threads, and assuming that MinGW supports native Windows threads (which seems reasonable, but as I am no Windows user, I cannott be sure), everything should work fine.
Tord