diff --git a/hpvm/scripts/llvm_installer.sh b/hpvm/scripts/llvm_installer.sh
index 11dd5ca9a553142f0548a66e02cd2a0ff9c9d466..f878ae077c043dbc03b3bae3be16494ce676f9a2 100755
--- a/hpvm/scripts/llvm_installer.sh
+++ b/hpvm/scripts/llvm_installer.sh
@@ -8,7 +8,7 @@ WGET=wget
 
 CURRENT_DIR=`pwd`
 INSTALL_DIR=`pwd`/install
-BUILD_DIR=$CURRENT_DIR/$LLVM_SRC/build
+BUILD_DIR=$CURRENT_DIR/build
 
 # Using 2 threads by default
 NUM_THREADS=2