For VS2010 replaced Boost scoped enum emulation completely.