-[ANDROID] Added apportable compatibility to compile for android.