Support both GNU and BSD ls colors.