Add DISTCHECK_CONFIGURE_FLAGS for gtk doc and small autofoo fix