fixing build
Adding nuget restore. Adding detection of MSBuild 12.0.