Latest raylib installs w64devkit that includes an updated version of MinGW built with the latest tools. You can find it on GitHub.