Fix problems with compiling documentation

rake doc:build ended with error