Fix warnings and errors on Win32 VS2013, create VS2013 project.