CMake support for Windows and Linux