Cygwin build fix

The -no-undefined libtool flag is required for building shared
libraries on Cygwin.