Platform: fix AndroidApplication for Android < 4.0.