Fallback for older boost version running on Travis-CI and other systems

Fixing an issue introduced in #20 

Let me know if there's a cleaner way to solve it