build script tweaks for vs2013