Remove some unused typedefs: fixes some gcc-4.8 warnings