Fix problems with compiling documentation