Fix compilation with Boost 1.53

cf. https://bugreports.qt-project.org/browse/QTBUG-22829