adjusted to changes in rofl-core (cindex) commit 04d57eaaa596b0bc18156eee4bec8b9cbcc77e98