Add support for stripping non-global or all symbols based on Xcode build setting