Fix compile error with VS2012
Add function array_at(index)