Fix compilation error in CF