make some more changes to makefile
fix install error
fix syntax error