Let Clang calculate field offsets, it does a much better job than FFI