Remove unused checks and include autoheader-generated files