Fix compilation on Linux, which defines PATH_MAX in a weird place,
from Saleem Abdulrasool!