fix unused typedef warnings

fix unused typedef warnings generated with g++-4.8