Cmake for Windows and formatting