mingw: avoid linking to the C library's isalpha()