Apply patch from #7653.
Fixes #7653.

svn path=/trunk/boost/tr1/; revision=83231