Only create one typedef for each anonymous struct.  Fixes #43.