Fix some gcc compiler warnings (probably cygwin-only)