Move config.h to settings.hh to make sure all defines are available where they are needed.