Changed target framework to .NET 4