Added check for boost.