Detect Mac Os version and allow process-shared synchronization primitives when minimum target is Mac Os Lion or newer (refs #6108).