Cleanup of host files and Makefile
Removed compiler warning and fixed up firmware files