Change PATH_MAX to DIR_PATH_MAX to avoid redefinition of macros