Fix bug that caused some old makedoc.g files to fail