Upgrade visual studio project to 2010

Changes to project and files needed to compile with visual studio 2010
on windows.