fix compile for xCode 5