Reinstated the NuGet package build for debug builds only.