fix for non-windows systems

this should fix problems where xcopy would not be available