mk/test.mk: use LDFLAGS when linking too.