diff --git a/Control/xAODRootAccess/CMakeLists.txt b/Control/xAODRootAccess/CMakeLists.txt
index 563403a1eddb2761b3d0cb4c3be919259f57b608..14aceb6dbad7296e954cba8723116cdb153201ec 100644
--- a/Control/xAODRootAccess/CMakeLists.txt
+++ b/Control/xAODRootAccess/CMakeLists.txt
@@ -10,8 +10,8 @@ atlas_subdir( xAODRootAccess )
 set( extra_deps )
 set( extra_libs )
 if( NOT XAOD_STANDALONE )
-   set( extra_deps Control/SGTools )
-   set( extra_libs SGTools )
+   set( extra_deps Control/SGTools Control/AthenaKernel )
+   set( extra_libs SGTools AthenaKernel )
 endif()
 
 # The dependencies of the package:
diff --git a/Control/xAODRootAccess/Root/TEventProxyDict.cxx b/Control/xAODRootAccess/Root/TEventProxyDict.cxx
index 7b3f0b33019550783a071051b63b817a193e9fdd..f448372dd73b170463f7200a74679a1c74a4e900 100644
--- a/Control/xAODRootAccess/Root/TEventProxyDict.cxx
+++ b/Control/xAODRootAccess/Root/TEventProxyDict.cxx
@@ -21,7 +21,7 @@
 #ifndef XAOD_STANDALONE
 #   include "SGTools/DataProxy.h"
 #   include "SGTools/TransientAddress.h"
-#   include "SGTools/DataBucketBase.h"
+#   include "AthenaKernel/DataBucketBase.h"
 #   include "GaudiKernel/Converter.h"
 #   include "GaudiKernel/GenericAddress.h"
 #endif // NOT XAOD_STANDALONE