+ Make destructor virtual for classes with virtual methods (based on DevJohan's patch)