cmt-compat: allow to pass a different root-path