kernel: Interaction of braces with #ifdefs was breaking the build.