sig.c: increase portability (mingw32)