Please download all required files for Visual Studio and the Windows SDK for 8.1, that should resolve the issue for you. If you’re not sure how to install, simply go to uninstall/reinstall and right-click on Visual Studio and hit ‘modify’ once you’re there, you’ll be able to add the Common Tools, etc so that it’ll compile properly.
Let me know if you’re still having trouble, thanks!