win: fixes for using vs 2013 toolchain

R=thakis@chromium.org
BUG=309197

Review URL: https://codereview.chromium.org/66503004

git-svn-id: http://gyp.googlecode.com/svn/trunk@1780 78cadc50-ecff-11dd-a971-7dbc132099af