fix type errors under Windows: in nm.take() cells -> nm.int32(cells)

77 test file(s) executed in 203.74 s, 0 failure(s) of 126 test(s)