firstObject isn't public on ios6, fix jenkins build