Fix to allows builds without SIM_ASYNCH_IO defined to work on OSX