diff --git a/Utilities/otbossimplugins/ossim/otb/HermiteInterpolator.h b/Utilities/otbossimplugins/ossim/otb/HermiteInterpolator.h
index e993009410d615e8b733f81ac122808b257c7940..0cef2f596d4f063fa4192f7fa7bf5d8e1fb1717e 100644
--- a/Utilities/otbossimplugins/ossim/otb/HermiteInterpolator.h
+++ b/Utilities/otbossimplugins/ossim/otb/HermiteInterpolator.h
@@ -12,6 +12,8 @@
 #ifndef HermiteInterpolator_h
 #define HermiteInterpolator_h
 
+#include <ossimPluginConstants.h>
+
 namespace ossimplugins
 {
 
@@ -21,7 +23,7 @@ namespace ossimplugins
  * @brief Abstract interpolator
  * @see Interpolate
  */
-class HermiteInterpolator
+class OSSIM_PLUGINS_DLL HermiteInterpolator
 {
 public:
    /**
diff --git a/Utilities/otbossimplugins/ossimPluginConstants.h b/Utilities/otbossimplugins/ossimPluginConstants.h
index 3cbe0567dddaaf8feda5e45fc827f580d03f0e88..986f3ed10e9433509e34279e3bd52fa2d4d327d7 100644
--- a/Utilities/otbossimplugins/ossimPluginConstants.h
+++ b/Utilities/otbossimplugins/ossimPluginConstants.h
@@ -26,11 +26,11 @@
 #  define OSSIMPLUGINSEXPORT __declspec(dllexport)
 #  define OSSIMPLUGINSIMPORT __declspec(dllimport)
 #  ifdef OSSIMPLUGINSMAKINGDLL
-#    define OSSIMPLUGINSDLLEXPORT OSSIMEXPORT
-#    define OSSIM_PLUGINS_DLL       OSSIMEXPORT
+#    define OSSIMPLUGINSDLLEXPORT OSSIMPLUGINSEXPORT
+#    define OSSIM_PLUGINS_DLL       OSSIMPLUGINSEXPORT
 #  else
-#    define OSSIMPLUGINSDLLEXPORT OSSIMIMPORT
-#    define OSSIM_PLUGINS_DLL      OSSIMIMPORT
+#    define OSSIMPLUGINSDLLEXPORT OSSIMPLUGINSIMPORT
+#    define OSSIM_PLUGINS_DLL      OSSIMPLUGINSIMPORT
 #  endif
 #else /* not #if defined(_MSC_VER) */
 #  define OSSIMPLUGINSEXPORT