  
      //----------------------------------------------------------------
      Call(PKCreateTestFactory(&pTestFactory, WMP_SDK_VERSION));
+diff --git a/jxrgluelib/JXRGlue.h b/jxrgluelib/JXRGlue.h
+index 382763f..b439700 100644
+--- a/jxrgluelib/JXRGlue.h
++++ b/jxrgluelib/JXRGlue.h
+@@ -31,8 +31,12 @@
+ extern "C" {
+ #endif
+ 
+-#include <JXRMeta.h>
+-#include <guiddef.h>
++#if defined(__GNUC__) && !defined(__ANSI__)
++#define __ANSI__
++#endif
++
++#include "JXRMeta.h"
++#include "guiddef.h"
+ 
+ //================================================================
+ #define WMP_SDK_VERSION 0x0101
+diff --git a/jxrgluelib/JXRMeta.h b/jxrgluelib/JXRMeta.h
+index b7b5880..e9e0401 100644
+--- a/jxrgluelib/JXRMeta.h
++++ b/jxrgluelib/JXRMeta.h
+@@ -27,9 +27,9 @@
+ //*@@@---@@@@******************************************************************
+ #pragma once
+ 
+-#include <windowsmediaphoto.h>
++#include "windowsmediaphoto.h"
+ #ifndef WIN32
+-#include <wmspecstring.h>
++#include "wmspecstring.h"
+ #endif
+ 
+ #ifndef UNREFERENCED_PARAMETER
 diff --git a/jxrtestlib/JXRTest.c b/jxrtestlib/JXRTest.c
 index b2a9b64..5552606 100644
 --- a/jxrtestlib/JXRTest.c

+  )
+install(FILES ${lib_hdrs} DESTINATION include/jxrlib)
+install(EXPORT ${PROJECT_NAME}-targets DESTINATION lib/cmake)
diff --git a/image/encode/strenc.c b/image/encode/strenc.c
index d6e970e..9dc7e80 100644
--- a/image/encode/strenc.c

+  ${CMAKE_CURRENT_SOURCE_DIR}/jxrgluelib
+  ${CMAKE_CURRENT_SOURCE_DIR}/jxrtestlib
+  )
+#######################################
+# preprocessor
+add_definitions(-DDISABLE_PERF_MEASUREMENT)
