remove unused includes
configure.ac: add some macros suggested by autoscan