I see you're setting the 64-bit variable MINGW64 to 32-bit tools. Read my post above.