Adding experimental support for generating C bindings
Fixing extension support