Fixed error with zero-length array in VS