check for automake before aclocal, so that the error message says automake