Run `kamctl rpc core.modules` and see if uac is listed there -- maybe you have some parts of config between `#!ifdef ... #!endif` or something else missing there.
Anyhow, it looks like a config issue, not a bug in the code. For such discussions, use `sr-users@lists.kamailio.org` mailing list.