Teach configure.ac about libboost

We only check for the bare subset of boost that we need to
compile the yaml-cpp library version 0.5.1.