diff --git a/Plugin/ThinLayerFixMesh.cpp b/Plugin/ThinLayerFixMesh.cpp
index 166e47156cd9c401d01f3ed764887a24d59f1bac..edb565a5ceb5ea1c45f798d46820ed3137ee424e 100644
--- a/Plugin/ThinLayerFixMesh.cpp
+++ b/Plugin/ThinLayerFixMesh.cpp
@@ -13,10 +13,6 @@
 #include "meshGFaceDelaunayInsertion.h"
 #endif
 
-const double GMSH_ThinLayerFixMeshPlugin::epsilon = 0.00000000001;
-const double GMSH_ThinLayerFixMeshPlugin::angleMax = 0.9;
-const double GMSH_ThinLayerFixMeshPlugin::distP2PMax = 5.0;
-
 extern "C"
 {
   GMSH_Plugin *GMSH_RegisterThinLayerFixMeshPlugin()
@@ -43,6 +39,10 @@ StringXNumber *GMSH_ThinLayerFixMeshPlugin::getOption(int iopt)
 
 #if defined(HAVE_MESH)
 
+const double GMSH_ThinLayerFixMeshPlugin::epsilon = 0.00000000001;
+const double GMSH_ThinLayerFixMeshPlugin::angleMax = 0.9;
+const double GMSH_ThinLayerFixMeshPlugin::distP2PMax = 5.0;
+
 CorrespVerticesFixMesh::CorrespVerticesFixMesh(){
   //	std::cout<<"started init CorrespVerticesFixMesh"<<std::endl;
   //	this->EndTriangle = faceXtetFM();