Fix compile issue on windows
A variable length array declaration was used. That is not part of the official C++11 standard and is not supported on all compilers.
A variable length array declaration was used. That is not part of the official C++11 standard and is not supported on all compilers.