update build script not to build each time
modify Makefile