Fix compiler error on Windows

Visual Studio does not accept non-const array sizes. I have no idea why GCC does.