aclocal.m4 & configure: replace AC_TRY_COMPILE by AC_COMPILE_IFELSE with valid prototype for main()