Added Xamarin-specific sections (__MOBILE__) to get this compiled for now.