This doesn't compile on Linux - needs either to keep the previous comparison or add `#include <wctype.h>`