How Microsoft fought off open-source