fixed the AC_CHECK_PROGS check for the D compiler