make compatible with Boost 1.57
Merge pull request #3 from alex85k/master

make compatible with Boost 1.57