add ALL_PKG_* flags also to LDFLAGS and LDADD