Make real-file-name resolve symlinks correctly

I went through a lot of trouble to debug this issue: when the source tree directory is a symlink to the actual source tree, nothing works. Use file-truename to fix this.