Fixed minor VS2013 compile errors and updated projects.