Fix unresolved symbols when loading gold plugin

Differential Revision: http://reviews.llvm.org/D4275