This change can fix mingw build, but I think I don't have review permission.
I will push it, since you confirmed it fixes the build.