Hacks to prevent error and warnings on windows.
Update NuGet packaging.