xcm: Adding an optional_depends.