Add CoreLocation framework dependency.