Edit makefile to compile correctly