Removed -lrt and -lpthreads from Makefile