Generate a config file if matplotlib is installed but not Sphinx

Noticed this weird side case when I tried to build in a virtualenv with matplotlib but not Sphinx installed