bring ray_cast sample in line with recent changes
mac build fixes