Makefile: Fix linking on Darwin

Fix Darwin linkage fallout from commit a9af8d0 ("Makefile: add -ltinfo
and -ldl to libs").

Signed-off-by: Pekka Enberg <penberg@iki.fi>