[TIMOB-17808] Fixed bug in Titanium SDK 3 bug fix hook where Xcode should only be removed when running on OS X.