shouldn't this be 
```
#define IS_PATHSEP(c) (c == '/')
```
for the non-windows case?