Fix for CYGWIN which resolves undefined references
Cygwin packaging script