add ffi dependency