Some functions aren't defined on Boost < 1.59, which is sadly inclusive of the Ubuntu LTSs. Make some guards so you can still use these on the newer Boosts with some useful fallback where possible.