Make the ir cross compiler print to the file, fix up some prelude stuff.