Boost linking

These commits fix some problems linking againt the Boost libs on Ubuntu Trusty, with newer Boost versions in multiarch packages.  See commit logs for details.