Fix errors

Use *_gang? to judge OS taste.