Add a config.h and change things to use it.