Make BaseDeviate destructor virtual.
(#349)