Support Gradle x86 build.