FFI: Fix compilation of reference field access.
Merge branch 'master' into agentzh