Makefile.am: Use LDADD instead of AM_LDFLAGS

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>