Build kernel