c90 incompatibility with using variables in arrays?