deal with test suite issues under mingw-cross compile and wine