Use AC_USE_SYSTEM_EXTENSIONS instead of redefining _XOPEN_SOURCE