fix a build test for MinGW