And use it in dotnet-compile
includes a smoke test for verifying that the output can be used to build also includes a checked-in CoreCLR in order to work around CoreCLR issue