ROOTR: fixed compilation with cmake