These changes fix compilation 'make libs' on MinGW. I have changed the configure.in to allow '--without-tcl' however this will likely break linux compiles. I'll commit this on windows, then try to check out and fix on a linux machine.