Fix failing tests

Have to add checks for CYGWIN in order to keep linux from compiling
incorrectly. Not sure why tests were failing, but this fixes that.

Signed-off-by: Wayne Porter <wporter82@gmail.com>
1 job for master in 2 minutes and 6 seconds
latest
Status Job ID Name Coverage
  Test
passed #18895540
MakeCheck

00:02:06