Fixed .NET 3.5 build