Use named semaphores on Mac OS X

OS X does only support named semaphores..

http://stackoverflow.com/questions/1413785/sem-init-on-os-x
http://stackoverflow.com/questions/8063613/c-macs-os-x-semaphore-h-trouble-with-sem-open-and-sem-wait

Splendid