Ensure that optional dependencies for Sphinx are installed