make sure symlinks are dereferenced