Switched target version to .NET 4.0