Wrote cygwin cmake build script. Closes #38.