Link with boost_system, if present (Needed for Saucy)
Fix build (Saucy)
Work around a bug in boost 1.53