Handle symbolic links correctly

E.g. shared object (.so) aliases need to be copied with the relative link in place