Bug fix: prevent the trashing of LDFLAGS.