Break out the config options into a struct rather than #define.