Problem: generates duplicate typedefs with zproject

Solution: guard typedef generation against zproject typedefs.
Merge pull request #134 from hintjens/master

Problem: generates duplicate typedefs with zproject