Introduce missing -dynamic flag, fix targets from Makefile
Merge pull request #6 from mgmarino/fix_static_build

Introduce missing -dynamic flag, fix targets from Makefile
Use a named semaphore to do efficient waiting in the listener thread.
Note: NERSC performs cleanup of shared-memory constructs; see "Cray Software Release Overview."  On other systems if the process is terminated abnormally, a semaphore will remain on the system until explicitly removed or the system is rebooted.
Add a watch for how much time we spend stalling the computation.
100-infile jobs seem to be too big -- reduce the sizes of jobs.