Mostly C / Makefile stuff