[models] Inform libtool about libBAT dependency
[build] Fixed ROOT dictionary generation for ROOT v6.02.00 or newer