ifdefs for packages