remove unused local typedefs
add virtual destructor
add configure script for gcc 4.9 to .gitignore