support inline kernel building