Fix destructors of virtual inheritance