function remapConfigSettings() {
  if (process.config && process.config.variables) {
    const variables = process.config.variables
    Object.keys(variables).forEach((key) => {
      if (remapping[key]) {
        let value = variables[key]

        if (value === true || value === 1) {
          value = 'yes'
        }
        if (value === false || value === 0) {
          value = 'no'
        }

        addSetting(remapping[key], value)
      }
    })

    maybeAddMissingProcessVars()
  }
}
There are a bunch of settings generated at build time that are useful to
know for troubleshooting purposes. These settings are only available in 0.7
and up.

This function works entirely via side effects using the
addSetting function.