update cmake to make win parallel builds more robust