fixed compilation flags for GCC 4.8 (add -Wno-unused-local-typedefs)