Don't do the check on built targets if we're not building. (#1969)
Don't do the check on built targets if we're not building. (#1969)

* Don't do the check on built targets if we're not building.

* remove additional check
thought-machine/please,thought-machine/please,thought-machine/please,thought-machine/please,thought-machine/please,thought-machine/please