Fixing several compile bugs related to global configuration. Worked through issues with Azure Mobile Service SDK.