added native CPU detection for Cygwin