Fix sphinx setup to correctly build latest version