fix OSX Multithreading test