Changed to .Net v4.0 so that it would compile in Mono
attempting a merge