replace deprecated AC_TRY_COMPILE autoconf macro by AC_COMPILE_IFELSE