Fixed build scripts so they doesn't depend on Subversion and upgraded the Visual Studio project files.