Support calling C functions with FFI.