ffi_create works on osx and Linux