Added a new download.bat file for Windows dependencies using Nuget
Minor fixes to allow compilation