Fix .NET 3.5 builds

.NET 3.5 builds were broken once again.

Would be great to have them back in the NuGet package, by the way :-)