diff --git a/Common/Bindings.h b/Common/Bindings.h
index 2a02084ef04701e8219987a3b3f7f05254f64893..14a51e2a641923b1d08cbf048b5868c499342a08 100644
--- a/Common/Bindings.h
+++ b/Common/Bindings.h
@@ -3,6 +3,7 @@
 #include <string>
 #include <list>
 #include <typeinfo>
+#include "GmshConfig.h"
 
 class methodBinding{
   public:
@@ -32,9 +33,9 @@ tObj *constructorPtr(){
   return new tObj();
 }
 
-#ifdef HAVE_LUA //no bindings
+#if defined(HAVE_LUA)
 #include "LuaBindings.h"
-#else
+#else  //no bindings
 #include "DummyBindings.h"
 #endif
 
diff --git a/Numeric/fullMatrix.cpp b/Numeric/fullMatrix.cpp
index d660be5003baa5e8a07bddd3f4ca0df51972cfbf..8eee380ac2df46874e3b57f6bdfd94ac7461cc8b 100644
--- a/Numeric/fullMatrix.cpp
+++ b/Numeric/fullMatrix.cpp
@@ -289,6 +289,8 @@ bool fullMatrix<double>::svd(fullMatrix<double> &V, fullVector<double> &S)
   return false;
 }
 
+#endif
+
 #include "Bindings.h"
 template<>
 void fullMatrix<double>::registerBindings(binding *b){
@@ -299,6 +301,5 @@ void fullMatrix<double>::registerBindings(binding *b){
   cb->addMethod("get",&fullMatrix<double>::get);
   cb->addMethod("set",&fullMatrix<double>::set);
   cb->addMethod("gemm",&fullMatrix<double>::gemm);
-  cb->setConstructor(constructorPtr<fullMatrix<double>,int,int>);
+  //  cb->setConstructor(constructorPtr<fullMatrix<double>,int,int>);
 }
-#endif
diff --git a/Post/OctreePost.cpp b/Post/OctreePost.cpp
index 3df1fa61915f7d7cbe16a38ce54837ee560a5787..90c8bfc4a745db9eca2c458db3cacc0c05a2b648 100644
--- a/Post/OctreePost.cpp
+++ b/Post/OctreePost.cpp
@@ -353,8 +353,6 @@ bool OctreePost::_getValue(void *in, int nbComp, double P[3], int timestep,
   double U[3];
   e->xyz2uvw(P, U);
 
-  //printf("hey!\n");
-
   double nodeval[8 * 9];
   for(int step = 0; step < _theViewDataGModel->getNumTimeSteps(); step++){
     if(timestep < 0 || step == timestep){