Modify cmake used in windows