updated makefile and fixed typo