Fix running doc-gen.lua from its own directory.