Fix #flatten on Arrays that contain a Hashery::OpenCascade

Fixes `can't convert Hashery::OpenCascade to Array (Hashery::OpenCascade#to_ary gives Hashery::OpenCascade)` when calling `Array#flatten` on an `Array` that contains a `Hashery::OpenCascade`

Might be ruby 1.9 thing.