- Use the right path separator char for unix. - Contruct some of the args to crossgen outside the loop. - Add the null check inside Command.Environment.
TODO: Write tests to make sure aseemblies are crossgened.