fixed for osx building

On line 52, for OS X building this needs to be set to <code> boost::array<int, THREAD_MAX> vnThreadsRunning; </code>