Making compatible with .NET 4.0 (in addition to 4.5)