fix a typo and fix makefile to compile