kc: fix undef warning