Fix build error caused by missing link dependency
Merge pull request #5856 from wmtan/FixMissingLinkDependency

Fix build error caused by missing link dependency