That did the trick!! The reason for the object files is that cc always need to compile with the -c option. These files are later removed, but I had undefined the array in my cc before the cleanup was done. Very much thanks for this.
The official SUA cc fails the same tests because it leave stray debug database files (*.pdb) due to the -g test. Changing the -Zi option to -Z7 in the script solves this. Thanks again Jerker
