Addressed some buildbot errors and comments on the checkin by Antoine on python-dev.
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 6ed9fd8..7350efb 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -104,7 +104,8 @@
     return False
 
 _sys_home = getattr(sys, '_home', None)
-if _sys_home and os.name == 'nt' and _sys_home.lower().endswith('pcbuild'):
+if _sys_home and os.name == 'nt' and \
+    _sys_home.lower().endswith(('pcbuild', 'pcbuild\\amd64')):
     _sys_home = os.path.dirname(_sys_home)
 
 def is_python_build(check_home=False):