Fix compile error looking for MAXPATHLEN