Correct make dist failure when asciidoc not installed, fix errors when asciidoc present.