Fix for CYGWIN which resolves undefined references
Cygwin packaging script
Merge pull request #19 from onepremise/master

Resolved undefined reference error on Cygwin and provided Cygwin packaging script.