[config] use intmax_t to fix warning across compilers