remove.c: allow compilation on cygwin