In line 2909 of tcl.m4 there is a check like:

*win32*|*WIN32*|*MINGW32_*)

This does not include MINGW64_.