This breaks the windows build, because (I think) the compiler doesn't support variable length arrays.

I found a related issue here: #420