ffi_def_create works for windows