Add dependency on boost_system

This fixes most of the tests, the rest fail due to warnings-as-errors