Fixed compatibility issue with android-support lib.