Add ChangeLog gen dist-hook and small autofoo fixes