added sufficient systems calls to get printf working. Changed linker to use nano libs as the size on standard libs is 38KiB