Merge remote-tracking branch 'upstream/master'
updated iOS version reference to avoid explicit release of semaphores on iOS6
replaced dispatch_semaphore_create(1) with dispatch_semaphore_create(0) + signal
Merge pull request #1502 from mvarie/master

updated iOS version reference to avoid explicit release of semaphores on iOS6