Refactoring: replaced two AC_TRY_COMPILE() occurrences by AC_CHECK_MEMBER().