Add missing *.generated.h files, use -DUNIX
Move -DEXITFREE functions to *.generated.h
Same, with -DPROTO and some other defines
Add -Wno-unused-function