Fix inline kernel compilation