Refine build kernel script to support linux-next