Fix definition of ARRAY_SIZE for non-gcc builds