Building with MSYS2 already works as long as you use the correct mingw shell. Upgrading to more recent versions of config.guess isn't possible due to license incompatibilities (build scripts for GPLv2 software must be GPLv2-compatible which GPLv3 isn't).