Dereference symlinks so tests work on Windows.

This is unfortunate, but git's behavior for symlinks on windows is really dumb.