Improve trace output of build-and-install

Change-Id: I19498bd79f3d1ff9c0cb33bae573bde1ee3dd387