build-support: fix macosx check for XCode warning.