./main.cpp \
        ./pidfile.cpp \
        ./plugin_runner.cpp \
+       ./plugin_mgr.cpp \
        ./settings_impl.cpp \
        ./services_impl.cpp \
        ./stg_timer.cpp \
 
 STGLIBS = scriptexecuter \
           dotconfpp \
-         locker \
          logger \
          common
 
 CFLAGS += $(DEFS) $(STGLIBS_INCS) $(SEARCH_DIRS)
 
 ifneq ($(OS),darwin)
-LDFLAGS += -Wl,-E $(STGLIBS_LIBS)
+LDFLAGS += -Wl,-E
 endif
 
 LDFLAGS += $(STGLIBS_LIBS)