autoconf: use $(LIBOSD) $(LIBCOMMON) instead of libosd.a libcommon.la

hardcoded library names in unit test dependencies break compilation

Signed-off-by: Loic Dachary <loic@dachary.org>