Apply fix for [#8958](https://svn.boost.org/trac/boost/ticket/8958)
Any now can work without RTTI and uses Boost.TypeIndex