improve builddoc script
fix broken links
Merge pull request #55 from marmotz/master

Fix broken links