Fix minor issue with ffi.