When compiling with CSC (the C# compiler) add /out: to be the build folder.

Fixes a few test failures.