I found the solution. That was really weird. I was using register_toolchains rule, instead of kt_register_toolchain. Silly me.
register_toolchains
kt_register_toolchain