build: when building executables, put libs to link to into LDADD instead of LDFLAGS