remove pthread.h, which caused problems on newer mingw installations