Fix: do not clear the target selector when building.