Fix NuGet packaging and build.