ofArray() TypeError fixed

Without this fix, the following code crashes on the Flash target:

var v:Vector<String> = Vector.ofArray(["Hello", "world"]);