Honor LDFLAGS variable.