11.0 osx multithreading

fixes 11.0 not compiling on osx.