Applied same fix as in d4391e8b to clean-base...

Applied same fix as in d4391e8b to clean-base build script for macos.
2 jobs for fix-macos-clean-base-build-stacksize in 16 minutes and 32 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed test-linux-arm64 #128319
arm64 linux

00:16:32

passed test-linux-x64 #128318

00:03:34