Fix the build of the gold plugin.

I did the previous patch on OS X and didn't noticed the issue.