Core: Support versions of node without setImmediate