Fixed unused typedef warnings from GCC 4.9; fixes #8877; fixes #8986