%extend symbols for nested structs get into a wrong C symbol table