The main problem here: using _LDFLAGS instead of _LDADD for linker library definitions; this does not matter in OS X, but definitely matters in Linux