Android: build core libraries for both arm and x86