MSYS2 and some mingw builds use mingw64 instead of mingw32. If you run `make installer` from the top-level, PLATFORM should be set correctly when building the installer.