This error was made by me a long time ago, not understanding how the kernel mode build is expected to work. So partially revert PR#946.
This error was made by me a long time ago, not understanding how the kernel mode build is expected to work. So partially revert PR#946.