Don't modify ldflags directly, use linkflags.