Add a bunch of missing dtors, to make those headers compile on their own.

This is needed for using CMake automoc for example.
Port to CMake Automoc.