diff --git a/Makefile b/Makefile
index c42fa7105b433d37b0db906c1e87e65bb8e969a9..c4d01c9ad35cdda59d4e0ef6c4f27d349372a337 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,10 @@
 # along with this program; see the file COPYING.  If not, write to
 # the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-ARCH_OPT = -m32
+## Define this option to specify architecture
+## Can be -m32 for 32 bit application or
+## -m64 for 64 bit application.
+ARCH_OPT =
 
 CD = cd
 
@@ -41,7 +44,7 @@ LIBX11 = -lX11
 
 OTHERLIBS= -lm
 
-CHIPMUNKCC = gcc -O2
+CHIPMUNKCC = gcc
 
 CC = $(CHIPMUNKCC)
 
diff --git a/include/node.h b/include/node.h
index a4c95afb339c1787f905d3d61ebbab9453bb9e0a..56de04338c830ece711fddf3397d5e7d99750442 100644
--- a/include/node.h
+++ b/include/node.h
@@ -7,8 +7,8 @@
 typedef struct log_nrec {
   struct log_nrec *next;
   na_long info;
-  struct log_tool *simtype;
-  struct log_nrec *confnext;
+  log_tool *simtype;
+  log_nrec *confnext;
   short ref;
   log_gattrrec *attr;
   na_long temp;
diff --git a/src/node.c b/src/node.c
index 83aa9614f76a20884f85215fad8067833f7c6535..8c0bca428062d7e67fa652f45e937fcddf2656b4 100644
--- a/src/node.c
+++ b/src/node.c
@@ -4,6 +4,7 @@
 #include "logglobals.h"
 #include "utils.h"
 #include "node.h"
+#include "log.h"
 
 /*==================  ADDNODE  ===================*/
 /*=                                              =*/