[build] fix the missing inclusion of config.h