Add missing array.dats and fixups for latest ATS compiler code