#454798 Erlang: AC_COMPILE_IFELSE always fails, and AC_LINK_IFELSE always succeeds