Fall back to .NET version 4.0 for wider compatibility