fix linux linker error
Merge pull request #9166 from andyque/fixLinuxLinkError

fix linux linker error