Revert "Build kernel inline"

This reverts commit 798c9b4186b20523a04935e3feaee8efcbd11a01.