Fix for older Android versions

Such as Gingerbread