Fix MSVC build breaks and update NuGet package.