CB-6360: Fix for crash on iOS < 6.0 (closes #37)