Note that we need to generate library.dylan.
Improve c-ffi generation for functions.