fix compliation with the latest changes to kagome