get rid of STANDALONE parameter; by default it should be standalone (not ns3)!
diff --git a/demo/chatdialog.h b/demo/chatdialog.h
index b4c4b24..7a837dc 100644
--- a/demo/chatdialog.h
+++ b/demo/chatdialog.h
@@ -5,6 +5,7 @@
 #include "digesttreescene.h"
 #include "ui_chatdialog.h"
 #include "chatbuf.pb.h"
+#include <sync-app-socket.h>
 
 class ChatDialog : public QDialog,  private Ui::ChatDialog 
 {
@@ -13,7 +14,7 @@
 public:
 	ChatDialog(QWidget *parent = 0);
   void appendMessage(const SyncDemo::ChatMessage &msg);
-  void processData(const std::vector<MisingDataInfo> &, SyncAppSocket *);
+  void processData(const std::vector<MissingDataInfo> &, SyncAppSocket *);
 
 private:
   void formChatMessage(const QString &text, SyncDemo::ChatMessage &msg);
diff --git a/demo/sync-demo.pro b/demo/sync-demo.pro
index 402fee2..4ff91a7 100644
--- a/demo/sync-demo.pro
+++ b/demo/sync-demo.pro
@@ -12,9 +12,9 @@
 QMAKE_CXXFLAGS *= -g 
 QMAKE_CFLAGS *= -g 
 
-QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib ../../../third_party/OGDF/_release
-INCLUDEPATH *= /opt/local/include /usr/local/include ../../../third_party/OGDF
-LIBS *= -lccn -lssl -lcrypto -lpthread -lOGDF -lprotobuf
+QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib ../../../third_party/OGDF/_release ../build
+INCLUDEPATH *= /opt/local/include /usr/local/include ../../../third_party/OGDF ../include
+LIBS *= -lccn -lssl -lcrypto -lpthread -lOGDF -lprotobuf -lsync
 CONFIG += console 
 
 PROTOS = chatbuf.proto