MB-12485 Add endian definitions for Android