fixed building with visual studio and updated vs solution to vs2013