fix for non-windows systems

this should fix problems where xcopy would not be available
Merge pull request #419 from ruarai/master

fix for non-windows systems