Added explicit casting to intersect. Fixes AccelerateHS/accelerate#79