making USART libs compatible, and adding libs dir to Makefile