Fixed linking with latest Sparkle

This fixes some build issues when linking with the latest Sparkle.
I found the solution at https://github.com/sparkle-project/Sparkle/issues/420.