Changes to support building with Tcl/Tk 8.6.1 using MinGW on Windows.