Use cmake for build on cygwin