Merge pull request #9154 from natural-law/v3

Solve the error when building android for sample projects of engine.
fix linux linker error
Merge pull request #9166 from andyque/fixLinuxLinkError

fix linux linker error