define PATH_MAX for platforms who have no PATH_MAX

Hurd has no PATH_MAX and the proper solution would be dynamically
allocating a big enough `char *s`, but defining PATH_MAX as 4096
when it isn't defined yet is good enough too ;)