patching cdefs.h to fix calling convention error.