Fix APN not load with sandbox address. Fix GCM with link error