Fix. [FFI] use undefined type in temp allocator