Fixes shell runner for node.js and v8.