kernel: fix multi-arch kernel compile.