build: Fix MINGW64 check.