[mobile] Add support for Environment.SetEnvironmentVariable in the mobile profile (e.g. iOS)