Added -pthread and -lrt to /src/Makefile.am as these are needed for deb package creation