Add Makefile and modify some compile errors