To support Macs which have a 5 year old bash, don't use associative arrays

@filbranden @craigbox