Fix a few important build warnings
Some virtual destructors were missing in classes used polymorphically.