Updated VS2012 build scripts to build correctly