Replace the reference to PATH_MAX with _MAX_PATH+1

PATH_MAX is redundant, is only used once, creates inconsistency and
requires the definition of a POSIX feature test macro on some systems.

Alternative to pull request #27 until the definitive solution.