Compatibility with -DCLOSURES option

Kernellib failed to load when DGD 1.5.x is compiled with -DCLOSURES option.  Updated variables to avoid conflict with keyword when builtin/type function is enabled.