Link with pydata only when GOLD linker is used.
Merge pull request #634 from ktf/fix-pydata-linking

Link with pydata only when GOLD linker is used.