Merge pull request #172 from rth7680/fixes

x86: Fix cygwin32 build