Fix compilation issues on cygwin

Remove cmake warning
Change std::to_string (not present on gcc) for a ostringstream
Fix warning comparison between signed and unsigned
Define to_string for cygwin
Merge pull request #5 from jbaltie/compile/cygwin-gcc

Compile/cygwin gcc