aded hack for pthread_barrier on osx
first attempt to memusage on OSX
fixed osx branch on linux again
fixed osx includes
Merge branch 'osx' of github.com:cksystemsgroup/acdc into osx