Revert "build: fix kernel build"

This reverts commit 3b538b45dfb62ca2a0261f9671e5625584500f68.