Move all configuration defines to config.h