add --with-hpi= to be same as --with-cm-build= and make script very tolerant of different sdk-dir values, etc