Fix the CMake build

now the library names in the rootmaps are sane.
In addition, the creation of the tmva and genvector dicts was
simplified.