Update ifdefs for disabling widgets