Update build kernel script.