Fix https://svn.boost.org/trac/boost/ticket/8973 for gcc 4.8.1