Fix compatibility with older Android versions with least effort