Added Boost version checks.