variable size array problem in Windows compiler
Merge pull request #1438 from XterNalz/master

fix for variable size array problem in Windows compiler