Require util only on Node.js