fix accumulators in cmake Find scripts