Dereference symlinks so tests work on Windows.