See https://github.com/mesonbuild/meson/pull/15387 and https://github.com/msys2/MINGW-packages/issues/26812