Updated cmake for windows