configure: use AC_PROG_EGREP

On some systems, `grep -E` does not exist. AC_PROG_EGREP should find a
suitable replacement.
build: really generate changelog