Fixed possible compile error on iOS6 machines