Add compatibility switch for CYGWIN.

This test expects no stderr output.
Merge topic 'INTERFACE_LINK_LIBRARIES-prop' into next

93b80ab Add compatibility switch for CYGWIN.