Fix building
Add different style of making kernels