Fix compilation on Darwin even if LDFLAGS is overridden.