Properly check for XTerm color bits