fixed broken cmakes for win