Add compatibility to Android 2.3 (Api 9)