Fixes crash on devices with API <16.