Small changes on projects to use the last nuget package restore approach

Hi,
Small changes in projects to use the latest version of nuget and to be able to build .exe and .dll using msbuild