Fix build failed when using Sphinx <= 1.1