Fix for compatibility with pre-jelly bean devices