Revert "Variable length arrays are not supported in MSVC, using an alternate approach."

This reverts commit 724141563e54100e510fb554bc91e85c531f6c86.
No support for variable length arrays in MSVC, using an std::vector approach