diff --git a/hpvm/lib/Transforms/InlineTensorCalls/CMakeLists.txt b/hpvm/lib/Transforms/InlineTensorCalls/CMakeLists.txt
index 51f321884fe7f9cb56e11df573bb837dde89434e..29dd2c8431362b28a1d5683eadb2c9eb867696ff 100644
--- a/hpvm/lib/Transforms/InlineTensorCalls/CMakeLists.txt
+++ b/hpvm/lib/Transforms/InlineTensorCalls/CMakeLists.txt
@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
   set(LLVM_LINK_COMPONENTS Core Support)
 endif()
 
-add_llvm_loadable_module( InlineTensorCalls
+add_llvm_library( InlineTensorCalls
+  MODULE
   InlineTensorCalls.cpp
 
   DEPENDS
diff --git a/hpvm/lib/Transforms/InlineTensorCalls/InlineTensorCalls.exports b/hpvm/lib/Transforms/InlineTensorCalls/InlineTensorCalls.exports
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..139597f9cb07c5d48bed18984ec4747f4b4f3438 100644
--- a/hpvm/lib/Transforms/InlineTensorCalls/InlineTensorCalls.exports
+++ b/hpvm/lib/Transforms/InlineTensorCalls/InlineTensorCalls.exports
@@ -0,0 +1,2 @@
+
+
diff --git a/hpvm/lib/Transforms/InlineTensorCalls/LLVMBuild.txt b/hpvm/lib/Transforms/InlineTensorCalls/LLVMBuild.txt
index 8fff7891af1b6b81fd642bb1300a23c2caca6918..c160516a6477d367893495e39f5fd4d00366f6f0 100644
--- a/hpvm/lib/Transforms/InlineTensorCalls/LLVMBuild.txt
+++ b/hpvm/lib/Transforms/InlineTensorCalls/LLVMBuild.txt
@@ -1,4 +1,4 @@
-;===- ./lib/Transforms/DFG2LLVM_NVPTX/LLVMBuild.txt ------------*- Conf -*--===;
+;===- ./lib/Transforms/DFG2LLVM_WrapperAPI/LLVMBuild.txt -------*- Conf -*--===;
 ;
 ;                     The LLVM Compiler Infrastructure
 ;
@@ -19,4 +19,3 @@
 type = Library
 name = InlineTensorCalls
 parent = Transforms
-