Fix #813

Also add a notice that the linked list stuff in the compiler should be (one day) removed.

Alternatives fixes:
- Create an actual procedure meant for comparison of possibly non-existant paths
- Use os.sameFile() when comparing paths, and fall back to os.cmpPaths() when the path doesn't exist