Removed dependencies on uart.lib