encountering problems with PATH_MAX testing