Allow the project to compile in Visual Studio 2013

Fixed a couple of problems that caused compilation errors in Visual Studio, and updated the Windows build instructions.