diff --git a/llvm/keystone/CMakeLists.txt b/llvm/keystone/CMakeLists.txt
index 719485a..e3577cb 100644
--- a/llvm/keystone/CMakeLists.txt
+++ b/llvm/keystone/CMakeLists.txt
@@ -43,7 +43,11 @@ add_library(keystone
   EVMMapping.cpp
 )
 
-install(TARGETS keystone DESTINATION lib${LLVM_LIBDIR_SUFFIX})
+install(TARGETS keystone
+    ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+    LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+    RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+)
 
 set_target_properties(
   keystone
