Updated generated C code to be linux compat