Remove unused typedefs
Avoid a segmentation fault.

It is caused by the binaries built with g++ 4.8 on Cygwin.
Merge branch 'gcc-upgrade'