Check for atf-c.h to build regression tests
Test the right header
Add missing bits from autoconf
config.status should not be in