ICuboid/Rectangle: Fix definition of pure-virtual destructor