[#1] replaced AC_TRY_COMPILE with AC_COMPILE_IFELSE