GCC 4.8: Fixed unused local typedef warnings.