diff --git a/Common/itkAffineTensorTransform.h b/Common/itkAffineTensorTransform.h
index e43afd407855235f9cf93346bee31bb937c98ae7..354e7a791a344c240c5471d768388508c65e3390 100644
--- a/Common/itkAffineTensorTransform.h
+++ b/Common/itkAffineTensorTransform.h
@@ -253,7 +253,7 @@ namespace itk
 # include "Templates/itkAffineTensorTransform+-.h"
 #endif
 
-#if ITK_TEMPLATE_TXX
+#ifndef ITK_MANUAL_INSTANTIATION
 # include "itkAffineTensorTransform.txx"
 #endif
 
diff --git a/Common/itkMatrixOffsetTensorTransformBase.h b/Common/itkMatrixOffsetTensorTransformBase.h
index 71fb7f9f992a4852e03727d939008ee49fda5811..101d4c59ef6a93dd67866e46548fda7674758dfd 100755
--- a/Common/itkMatrixOffsetTensorTransformBase.h
+++ b/Common/itkMatrixOffsetTensorTransformBase.h
@@ -300,7 +300,7 @@ namespace itk
 # include "Templates/itkMatrixOffsetTensorTransformBase+-.h"
 #endif
 
-#if ITK_TEMPLATE_TXX
+#ifndef ITK_MANUAL_INSTANTIATION
 # include "itkMatrixOffsetTensorTransformBase.txx"
 #endif
 
diff --git a/Common/itkTensorTransform.h b/Common/itkTensorTransform.h
index fe4fab2793086ca90da5fe970d525f87a59ca0ae..3cbf7dd5b108f56d1ae07e8d4e2e820008a6acbf 100644
--- a/Common/itkTensorTransform.h
+++ b/Common/itkTensorTransform.h
@@ -259,7 +259,7 @@ namespace itk
 # include "Templates/itkTensorTransform+-.h"
 #endif
 
-#if ITK_TEMPLATE_TXX
+#ifndef ITK_MANUAL_INSTANTIATION
 # include "itkTensorTransform.txx"
 #endif