fix makefile bug and include error