forgot to add config.def.h, thanks William