diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/CMakeLists.txt b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/CMakeLists.txt
index bbd48c67f079e4dbeba968b0e34027be5c83ff72..26b202427f4fdd61f33d7e33ae29f3d73604f624 100644
--- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/CMakeLists.txt
+++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/CMakeLists.txt
@@ -25,6 +25,12 @@ atlas_depends_on_subdirs( PUBLIC
 find_package( CLHEP )
 find_package( Eigen )
 
+atlas_add_library( MuonRegionSelectorLib
+                   MuonRegionSelector/*.h
+                   INTERFACE
+                   PUBLIC_HEADERS MuonRegionSelector
+                   LINK_LIBRARIES RegSelLUT AthenaBaseComps GaudiKernel GeoPrimitives )
+
 # Component(s) in the package:
 atlas_add_component( MuonRegionSelector
                      src/*.cxx
@@ -36,9 +42,8 @@ atlas_add_component( MuonRegionSelector
 		     MuonMDT_CablingLib MuonTGC_CablingLib RPCcablingInterfaceLib 
 		     MuonReadoutGeometry
 
-	             MuonAGDDDescription )
+	             MuonAGDDDescription MuonRegionSelectorLib )
 
 # Install files from the package:
-atlas_install_headers( MuonRegionSelector )
 atlas_install_joboptions( share/*.py )
 
diff --git a/MuonSpectrometer/MuonDigitization/MuonDigToolInterfaces/CMakeLists.txt b/MuonSpectrometer/MuonDigitization/MuonDigToolInterfaces/CMakeLists.txt
index f2edb7c1e7122befac645e71e3f441a7d6d2a80e..a2171e00a6237b487783436dbe3f803b31a3f350 100644
--- a/MuonSpectrometer/MuonDigitization/MuonDigToolInterfaces/CMakeLists.txt
+++ b/MuonSpectrometer/MuonDigitization/MuonDigToolInterfaces/CMakeLists.txt
@@ -9,6 +9,8 @@ atlas_subdir( MuonDigToolInterfaces )
 atlas_depends_on_subdirs( PUBLIC
                           GaudiKernel )
 
-# Install files from the package:
-atlas_install_headers( MuonDigToolInterfaces )
-
+atlas_add_library( MuonDigToolInterfacesLib
+                   MuonDigToolInterfaces/*.h
+                   INTERFACE
+                   PUBLIC_HEADERS MuonDigToolInterfaces
+                   LINK_LIBRARIES GaudiKernel )
diff --git a/Simulation/G4Sim/TrackRecord/CMakeLists.txt b/Simulation/G4Sim/TrackRecord/CMakeLists.txt
index 58013814dc4c4e5e00450d53941dd941c674fcd9..62efd9cbf5b21b4e64c0f99e66711ec80e69b638 100644
--- a/Simulation/G4Sim/TrackRecord/CMakeLists.txt
+++ b/Simulation/G4Sim/TrackRecord/CMakeLists.txt
@@ -16,13 +16,17 @@ atlas_depends_on_subdirs( PUBLIC
 find_package( CLHEP )
 find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
 
+atlas_add_library( TrackRecordLib
+                   TrackRecord/*.h
+                   INTERFACE
+                   PUBLIC_HEADERS TrackRecord
+                   INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
+                   LINK_LIBRARIES HitManagement AthenaKernel ${CLHEP_LIBRARIES} )
+
 # Component(s) in the package:
 atlas_add_dictionary( TrackRecordDict
                       TrackRecord/TrackRecordDict.h
                       TrackRecord/selection.xml
                       INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS}
-                      LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AthenaKernel HitManagement )
-
-# Install files from the package:
-atlas_install_headers( TrackRecord )
+                      LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AthenaKernel HitManagement TrackRecordLib )