Updated build scripts to work with VS 2013.