Fixed issues with NuGet restore.