got ffi_call() works, but lot of segfault around it.