How do you participate in civilization without being indirectly responsible for its negatives? The only paths I see are to either opt out or accept the downsides while working to improve things.
There's also a big difference between buying some gum and having the tax you paid on it go to the military vs. actively developing military drones. I'd say that contributing to Linux would fall somewhere in between these two.