[DF-651] fix linking for xcode