mods to boost units

match [pull](https://github.com/smanders/boost-trunk/pull/5) to boost-trunk (an svn mirror)

see boost [Ticket #7573](https://svn.boost.org/trac/boost/ticket/7573)