Fixes #9861 "Remove references to gcc-mingw"