Changes to support building in Xamarin Studio