Fixed makefile errors