Let's not reinvent wheel here: replace DT_MAX_PATH_LEN with PATH_MAX