Make the kernel dir overridable.