update nuget package restore for modern version

Updates needed for nuget 2.7