2013june/winbuild

Some updates to allow cross compiling for windows. 

Note that:
* OFLib stuff is disabled because of its Web use which didn't want to compile on win.
* The custom getline() hasn't been tested in action (it is used in scripting.c). 
* unicodelibinfo.c was directly included twice which caused a symbol clash on windows (same code in more than one object file being linked). So that got moved into gutils.c and reused rather than included directly.