Only use -Wno-unused-local-typedefs for GCC >= 4.8
Merge pull request #5 from kaimallea/master

Only use -Wno-unused-local-typedefs for GCC >= 4.8