Added config.h to source. This was borrowed from elsewhere.