-no-undefined builds shared library on Cygwin