Add batch to build kernels