Fixed passing of macros to kernel.