Fixes to make basic builds on Cygwin work again + additions to support x86_64-cygwin
Fix perl compilation
Merge #2823: better cygwin support, also add x86_64

Conflicts (easy):
	pkgs/development/interpreters/perl/5.16/default.nix