Fixes build failure "error: 'TARGET_OS_IPHONE' is not defined, evaluates to 0" on macOS with newer versions of clang.
setup_output
set_scan_target