fixed compilation issues under cygwin gcc