GCC 4.8: Fixed all local unused typedef warnings.