--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,8 @@
 example_module1_la_SOURCES = example-module1.cc
 example_module1_la_LDFLAGS  = -module -avoid-version -rpath $(pkgverlibdir)
 
-TASK_MODULES = liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la proto-file.la proto-fish.la proto-sftp.la
+TASK_MODULES = liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la proto-file.la proto-fish.la proto-sftp.la liblftp-tasks.la liblftp-jobs.la
+
 JOB_MODULES = cmd-mirror.la cmd-sleep.la cmd-torrent.la
 if WITH_MODULES
   pkgverlib_LTLIBRARIES = $(TASK_MODULES) $(JOB_MODULES)
@@ -26,8 +27,6 @@
   TASK_MODULES_STATIC = $(TASK_MODULES)
   JOB_MODULES_STATIC = $(JOB_MODULES)
 endif
-lib_LTLIBRARIES = liblftp-tasks.la liblftp-jobs.la
-
 proto_ftp_la_SOURCES  = ftpclass.cc ftpclass.h FtpListInfo.cc FtpListInfo.h\
  FtpDirList.cc FtpDirList.h ftp-opie.c FileCopyFtp.cc FileCopyFtp.h
 proto_http_la_SOURCES = Http.cc Http.h HttpDir.cc HttpDir.h HttpDirXML.cc
