Fix build error in CF