diff --git a/bin/compile b/bin/compile
index e8c11a11a103978b3171feedc1054bac6d3a7712..66ed77a4a4e409eb29f3cb6a270374dba675954f 100755
--- a/bin/compile
+++ b/bin/compile
@@ -59,8 +59,10 @@ LEGACY_VIRTUALENV_TRIGGER="lib/python2.7"
 PYTHON_VERSION="2.7.2"
 PYTHON_EXE="python2.7"
 
-# The slug compiler doesn't do a very good job of sanitizing environment variables.
+# Sanitizing environment variables.
 unset GIT_DIR
+unset PYTHON_HOME
+unset PYTHONPATH
 
 # We'll need to send these statics to other scripts we `source`.
 export PIP_DOWNLOAD_CACHE