1) Entering build dir before issuing npm rebuild when present node_modules locally. 2) Deleteing the downloaded clidriver.tgz after untarring