next try
diff --git a/include/freetype/config/ft2build.h b/include/freetype/config/ft2build.h
index 42b8ea9..3e50563 100644
--- a/include/freetype/config/ft2build.h
+++ b/include/freetype/config/ft2build.h
@@ -70,7 +70,8 @@
   /* installed on the particular system.                                   */
   /*                                                                       */
 #ifndef FT2_CONFIG_ROOT
-#define FT2_CONFIG_ROOT  FT2_ROOT ## / ## config
+#define FT2_CONFIG_ROOT_( x )  x ## / ## config
+#define FT2_CONFIG_ROOT        FT2_CONFIG_ROOT_(FT2_ROOT)
 #endif
 
 
@@ -208,7 +209,8 @@
 
 
   /* now include internal headers definitions from <freetype/internal/...> */
-#include FT2_INTERNAL_FILE(internal.h)
+#define FT2_INTERNAL_H  FT2_INTERNAL_FILE(internal.h)
+#include FT2_INTERNAL_H
 
 
 #endif /* __FT2_BUILD_H__ */
diff --git a/src/autohint/ahoptim.c b/src/autohint/ahoptim.c
index f10d3a6..910d635 100644
--- a/src/autohint/ahoptim.c
+++ b/src/autohint/ahoptim.c
@@ -48,7 +48,7 @@
 #undef LOG
 #ifdef AH_DEBUG_OPTIM
 
-#define LOG( x )  optim_log##x
+#define LOG( x )  optim_log ## x
 
 #else
 
diff --git a/src/autohint/ahtypes.h b/src/autohint/ahtypes.h
index 6597665..8e47379 100644
--- a/src/autohint/ahtypes.h
+++ b/src/autohint/ahtypes.h
@@ -35,7 +35,7 @@
 #ifdef AH_DEBUG
 
 #include <stdio.h>
-#define AH_LOG( x )  printf##x
+#define AH_LOG( x )  printf ## x
 
 #else