doc: do not try to build doc when BoostBook is not available