Converted project to CMake, currently works on windows only