Upgrade to VC++ 2013

Fixed a compiling issue and upgraded the solution/projects