Fix for Visual Studio compilation error.

Visual Studio is more strict about local arrays.