implement __array_prepare__ fallback for numpy<1.10.0