Fixes the incompatibility between ios7 and ios8 initialization.