Include <syslimits.h> on DJGPP for PATH_MAX