diff --git a/bin/compile b/bin/compile
index 69d5c12fc8d83e1bd3d1696ef53b8756518e5ae4..db0d9bc55b9f05f967ba1cb5c931585b74f4a414 100755
--- a/bin/compile
+++ b/bin/compile
@@ -65,8 +65,7 @@ unset PYTHON_HOME
 unset PYTHONPATH
 
 # We'll need to send these statics to other scripts we `source`.
-export PIP_DOWNLOAD_CACHE
-export BUILD_DIR
+export PIP_DOWNLOAD_CACHE BUILD_DIR CACHE_DIR
 
 # Syntax sugar.
 indent() {