fixed up some makefile stuff