Add AC_CONFIG_MACRO_DIR to configure.ac and ACLOCAL_AMFLAGS to Makefile.am

Some builders may fail without this.
Pre-release: 1.0.0-rc1.