add missing #include's for config.h