Support cygwin test compilation