Fixed cmake for Windows