Fixed build order of pack_kernel file