improve and fix pwd for makefile
fix make f INSTALL bug