Fixed build warnings related to Nuget.targets.