Allow for out-of-tree Sphinx builds (take 2)