[CB-2618] xcode build from Network Drive Fails

- fix copy of fileand symlinks attributes errors
- still attempt to hard link first but then do copy if that fails