Port to GNU Hurd
GNU Hurd does not have PATH_MAX defined as this OS tries to avoid this kind of arbitrary limits, therefore CMake fails to build from source on GNU Hurd. A possible workaround is dynamic allocation of buffers for filesystem paths in case when PATH_MAX is not defined.
Edited by Brad King