Compatibility with cygwin

I cannot compile the original project under Cygwin.
Strangely it is missing std:stoul() function, and gtest does not build with std-c++11 flag.

I am using:
Target: x86_64-pc-cygwin
Thread model: posix
gcc version 4.8.3 (GCC)