Fixed asprintf and plist_dict errors.