Fixed building of nuget packages.