Removed the forced \r\n.

got USART_Printf working (although only with USART2).

Added different targets for Linux and Windows.