Regen C API
Generate a compilable file