Build kernel.