get rid of STANDALONE parameter; by default it should be standalone (not ns3)!
diff --git a/include/ns3/sync-ns3-name-info.h b/include/ns3/sync-ns3-name-info.h
index 347ba1a..d412fdd 100644
--- a/include/ns3/sync-ns3-name-info.h
+++ b/include/ns3/sync-ns3-name-info.h
@@ -20,7 +20,7 @@
* Alexander Afanasyev <alexander.afanasyev@ucla.edu>
*/
-#ifndef STANDALONE
+#ifdef NS3_MODULE
#ifndef SYNC_CCNX_NAME_INFO_H
#define SYNC_CCNX_NAME_INFO_H
@@ -76,4 +76,4 @@
#endif // SYNC_CCNX_NAME_INFO_H
-#endif // STANDALONE
+#endif // NS3_MODULE
diff --git a/include/sync-full-state.h b/include/sync-full-state.h
index c39ec4f..44b9248 100644
--- a/include/sync-full-state.h
+++ b/include/sync-full-state.h
@@ -23,7 +23,7 @@
#ifndef SYNC_FULL_STATE_H
#define SYNC_FULL_STATE_H
-#ifndef STANDALONE
+#ifdef NS3_MODULE
#include "ns3/nstime.h"
typedef ns3::Time TimeType;
typedef ns3::Time TimeDurationType;
@@ -31,7 +31,7 @@
#include <boost/date_time/posix_time/posix_time_types.hpp>
typedef boost::posix_time::ptime TimeType;
typedef boost::posix_time::time_duration TimeDurationType;
-#endif // STANDALONE
+#endif // NS3_MODULE
#include "sync-state.h"