diff --git a/build/tizen/demo/CMakeLists.txt b/build/tizen/demo/CMakeLists.txt
index c5f967a..227bc50 100644
--- a/build/tizen/demo/CMakeLists.txt
+++ b/build/tizen/demo/CMakeLists.txt
@@ -3,7 +3,7 @@ SET(DEMO_SRC_DIR ${ROOT_SRC_DIR}/demo)
AUX_SOURCE_DIRECTORY(${DEMO_SRC_DIR} DEMO_SRCS)
ADD_EXECUTABLE(${PROJECT_NAME} ${DEMO_SRCS})
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${REQUIRED_PKGS_LDFLAGS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${REQUIRED_PKGS_LDFLAGS} -pie)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
diff --git a/com.samsung.dali-demo.xml b/com.samsung.dali-demo.xml
index e3bb5da..513717d 100644
--- a/com.samsung.dali-demo.xml
+++ b/com.samsung.dali-demo.xml
@@ -147,6 +147,7 @@
+
diff --git a/demo/dali-demo.cpp b/demo/dali-demo.cpp
index 680ef8d..bfc7d2c 100644
--- a/demo/dali-demo.cpp
+++ b/demo/dali-demo.cpp
@@ -24,7 +24,7 @@
using namespace Dali;
-int main(int argc, char **argv)
+int DALI_EXPORT_API main(int argc, char **argv)
{
// Configure gettext for internalization
bindtextdomain(DALI_DEMO_DOMAIN_LOCAL, DEMO_LOCALE_DIR);
diff --git a/examples/perf-scroll/perf-scroll.cpp b/examples/perf-scroll/perf-scroll.cpp
index 2835f79..90a02ce 100644
--- a/examples/perf-scroll/perf-scroll.cpp
+++ b/examples/perf-scroll/perf-scroll.cpp
@@ -496,7 +496,7 @@ void RunTest( Application& application )
// Entry point for Linux & Tizen applications
//
-int main( int argc, char **argv )
+int DALI_EXPORT_API main( int argc, char **argv )
{
Application application = Application::New( &argc, &argv );