fix the errors in Makefile