Initial fix for Android API 18 and older.