Fix warning on mingw build.