[cmake] add lto support again