Modified auto.c and driver.c to avoid failure when compiling dgd with -DCLOSURES option.