Fix compilation with VS2015
Transform ArrayStack to an ArrayDeque