updated autoreconf stuff to remove deprecated macros