nvidia-detect: fix Makefile

Older versions of gcc (e.g, rhel5) seem to want $(LDLIBS) at the end.

Signed-off-by: Philip J Perry <phil@elrepo.org>