Add AC_CHECK_FUNCS([realpath]) and fail if missing.
Normalize paths with ::realpath.