Support Gradle x86 build.
Merge pull request #9 from openresearch/gradle_x86_build

Support Gradle x86 build.