Change NuGet package generator to work with debug and release builds