Fix compilation error in cf_sql.c