fix compilation on old boost
Merge pull request #222 from vrabaud/more_old_Boost_fixing

fix compilation on old boost