Fix compiler warnings

Fix missing virtual destructor warnings.