Relax ffi dependency