more missing MAX and MAXPATHLEN macro nonsense