Errors in compiling under cygwin