This saved me on macOS where older Bash versions trigger `unbound variable` errors when expanding an unset array. Using `"${array[@]}"` alone failed, but this pattern `${array+"${array[@]}"}` prevented the issue cleanly.
${additional_build_args+"${additional_build_args[@]}"}