Changes needed to compile in Android