GNU Hurd does not define the PATH_MAX variable. Using the variable on this platform results in compilation errors. Closes #23098.