Fix up scoping in native exe settings.