[models] bugfix roostats library dependency

o remove unnecessary cuba linking
[models] Inform libtool about libBAT dependency
[build] Fixed ROOT dictionary generation for ROOT v6.02.00 or newer