Update extconf.rb

Add Cygwin detection
Update Rakefile

Patch needs to be in binary on windows, as line endings may be different. If patch fails, generate_yajl_version doesn't get called.
Merge pull request #3 from electrawn/master

Add cygwin detection, better windows support