Mac net.cpp fix

Compiler conditional to use boost for the threads array on a mac.