Fix compilation errors.
Have Cabal run `autoheader` also.