Fix build under Cygwin.

- add to_string method.
Force usage of cmake 2.8.8 and higher.

- we need it for Object libraries support in unit_test
Merge branch 'master' into JS_field_fe