Honor the LDFLAGS environment variable.