Fix Xcode build
Enable OSX tests