Fixed a few errors; Fixed up makefiles. Still needs to be linked and tested on Pi