Fixed Xcode build