Catch Sphinx SystemExit when building help

In a recent Sphinx release, it started calling `sys.exit()` and that
caused our whole build process to exit prematurely.
Modernized bootstrapping code