Java API: add build target armeabi and x86