Wannacry only makes a good case for switching to Linux if people using Linux over Windows don't take their update and patch practices with them. Wannacry, as so many other Windows specific vulnerabilities only targeted flaws that had already been patched but the users didn't update their systems! The same lax practices there will carry over no matter what OS is being used, and cause similar results.