Changed .NET version to 4.0 for compatibility with mono