Barriers not implemented in OSX
Commit for testing on different system