Make sphinx-configuration work with python2