Fix compilation for boost >= 1.50
Merge pull request #173 from joker-eph/boost1.50

Fix compilation for boost >= 1.50