fate: Work around non-standard wc implementations at more places