strip out useless ldflags