Make sure we don't stomp $out and $flags in case they happen to be in
use when our macos are called.