Support build.xml on Windows

Hi,
I have tried to build plugin to play with on Windows but without success. So I made a fix and if you like it just merge it.
Thx
Ivos