added xcode build support