Fix isues with xprof file having dead targets.