Fix compilation warnings on CCL