Fix ffi declaration.