App extension ifdefs