Fix build with boost 1.56
Merge pull request #130 from eile/master

Fix build with boost 1.56