add osx support

Signed-off-by: Sean Ogden <positivelyskewed.sf@gmail.com>
Merge branch 'osx' of git://github.com/seanogden/po6

* 'osx' of git://github.com/seanogden/po6:
  add osx support
Merge barrier and barrier_portable