keep the kernels clean as we build