change to build script to support installed did, also support include did, Little change to dependency of makefile install