Change how the settings are read to be compatibile with the MAcOS shit compiler.