Apply patch from #8185.
Fixes #8185.

svn path=/trunk/boost/config/; revision=83274