make ./libs directory and remove multiple typedefs.
 Multiple typedefs with same name works in newer versions of gcc old version
 it breaks.
Ignore files generated during make .
And add git ingore to ignore the files.