doc: fixed building with Sphinx 1.2
Merge pull request #603 from satra/fix/docbuild

doc: fixed building with Sphinx 1.2