add os400 support for ffi