For my own open source libraries, I have made a conscious decision to say "I don't care". And the language in which I'm saying it is legalese. It's all in the license.
If I felt that people should give me a cut of any commercial software they build on top of my library then I would try to express that in my choice of license.