COMP: Fix non-const size array heap allocation."

This fixes build with VC compiler
Merge pull request #3 from jmargeta/ArrayAllocationFix

COMP: Fix non-const size array heap allocation."