Revert "support for inline kernel building"

This reverts commit bf44999a56b1bd761eadf0ff386089b5906be554.