Refactor to reduce repetition in LDADD/LIBADD, correct LDADD for bin_PROGRAMS targets.
Merge pull request #80 from pmienk/master

Fix #79