fix error printing for the asm/ir compilation