build: add support for inline kernel building