Fix build test for older Node versions w/o setImmediate.