Ok here are some patches that made me able to build (and all the plugins)
and run the thing on Win-XP.

First some stuff to make it build. No fork() on Win32: