static builds fail on scratch/nested-subdir
I have observed this on a few systems (Ubuntu 20 and 22). Static builds no longer work (and our CI system is not checking them).
./ns3 configure -d optimized --enable-static
./ns3 build
[995/1001] Linking CXX executable ../b...tch-nested-subdir-executable-optimized
FAILED: ../build/scratch/nested-subdir/ns3-dev-scratch-nested-subdir-executable-optimized