Improve compatibility for MonoDevelop