fix c_file undefined error