fix include flags not available for static builds
split the struct table in two tables

(members by offset and members by name)
restore the "next" functionnality on structs
fix enums not working correctly
Merge pull request #17 from boucman/master

Various fixes