use LDADD instead of LDFLAGS