Fix configure for 64-bit Cygwin  and verified on recent Cygwin versions

I did test on my 64-bit Cygwin, and it can success build.