fixed putchar() built on IAR