Replace AC_CHECK_FILE with test -f in configure.in.