add support for dynamic_cast on msc++