core.c: missing ifdefs