Changed operating system detection and related code. Added Cygwin detection. Fixed getDevCounts, openAllLabJacks, and GetResultSS on Windows.