Fix Win32 header file name clashes.
Add xfree (xmalloc is not GCed).