workaround for gcc 4.8 enabling -Wunused-local-typedefs