fix crash bug when ABFBeacon is built iOS6.0/6.1.