Works around https://github.com/egor-tensin/setup-mingw/issues/14. (cherry picked from commit 0369f6fea0)
0369f6fea0