tweaks to get things working on windows..

- CopyDependantLibs now works on windows