I needed to pass --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ to configure to make the boost checks for the various libraries work.