Adds setImmediate fallback if process.nextTick isn't available