Changes made to allow successfull build in Visual Studio 2013

These are the changes I had to make in order to get the solution to build in Windows 8.1/Visual Studio 2013 following the instructions at http://synergy-project.org/wiki/Compiling.