add CMake build-system

You need to fix up that #ifdef _WIN32 in Utils.h.
GLFW probably provides something that'd work.

Otherwise you can also check the platform in CMake and add a pre-processor macro accordingly.