Fix compilation with Boost 1.53

cf. https://bugreports.qt-project.org/browse/QTBUG-22829
Merge pull request #36 from jspricke/master

Fix compilation with Boost 1.53