pieusb cleanup - compile .c files separately

plus many code cleanups and compiler warning fixes