Fix for ROOT-6546 (ctest: generate a rootmap with a library name compatible with roottest)